﻿using System.ComponentModel.DataAnnotations.Schema;

namespace Manager.Model
{
    public class User
    {
        public int id { get; set; }
        public string username { get; set; }
        public string password { get; set; }
        public int age { get; set; }
        public string address { get; set; }
        public int labelId { get; set; }

        //不存入数据库
        [NotMapped]
        public Label label { get; set; }
        public int sex { get; set; }  // 1男 2女
        public string nickname { get; set; } 
        public string avatar { get; set; }
        public string mobile { get; set; }
        public int state { get; set; }   // 0正常 1禁用
     
    }
}
